package com.example.kekewaimaibao.deliver.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.kekewaimaibao.deliver.model.DeliverDO;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * @author: xuxiang
 * @date: 2022/3/6 22:56 星期日
 * @description:
 * @version: 1.0
 */
@Mapper
public interface DeliverMapper extends BaseMapper<DeliverDO> {

    Map<String, Object> getDayDashBoard(@Param("riderId") Long riderId);

    Map<String, Object> getMonthDashBoard(@Param("riderId") Long riderId);

    Map<String, Object> getYearDashBoard(@Param("riderId") Long riderId);
}
